package grapho;

import java.awt.Color;
import java.awt.Paint;

public final class Vertice extends Aluno
{   
    public static final Paint DEFAULT_COLOR = Color.PINK;
    
    private Paint cor;
    
    public Vertice()
    {
        super();
        
        cor = DEFAULT_COLOR;
    }
    
    public Vertice(Aluno student)
    {
        super(student.getRm(), student.getAlunoRms());
        
        cor = DEFAULT_COLOR;
    }
    
    public Paint getColor()
    {
        return cor;
    }
    
    public void setColor(Paint cor)
    {
        this.cor = cor;
    }
}
